module.exports = function ($scope, $modalInstance, $resource, toaster, item) {

  $scope.bean = item;
  var para = {
    'question_id': item.question_id
  }
  $resource('/api/as/gc/shakeevaluatequestion/getServiceQList', {}, {}).save(para, function(res){
    if(res.errcode === 0){
      $scope.objs = res.data;
    } else {
      toaster.error({title: '', body: '失败，请重试'});
    }
  });

  $scope.cancel = function(){
    $modalInstance.close();
  }

};